<layout name="../../../resource/master" />
<section class="vbox">
    <section>
        <section class="hbox stretch">
            <!--.aside -->
            <section id="content">
                <section class="vbox">
                    <section class="scrollable padder">
                        <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
                            <li><a href="#"><i class="fa fa-home"></i> 首页</a></li>
                            <li><a href="">类型属性管理</a></li>
                            <li class="active">添加类型属性</li>
                        </ul>
                        <section class="panel panel-default">
                            <header class="panel-heading font-bold">
                                添加类型属性
                            </header>
                            <div class="panel-body">
                                <form class="form-horizontal" id="form" method="post" action="">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"></label>
                                        <div class="col-sm-5"></div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">属性名称</label>
                                        <div class="col-sm-5">
                                            <input type="text" name="tname" required class="form-control" placeholder="属性名称长度 1 到 20 位">

                                        </div>
                                    </div>
                                    <div class="form-group"><label class="col-sm-2 control-label">属性类别</label>

                                        <div class="col-sm-10">
                                            <div class="i-checks">
                                                <label>
                                                    <input type="radio" value="1" name="ttype" checked="checked"><i></i> 属性
                                                </label>
                                                <label>
                                                    <input type="radio" value="2" name="ttype"><i></i> 规格
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">属性值</label>
                                        <div class="col-sm-5">
                                            <textarea name="tvalue" rows="8" cols="" required class="form-control" placeholder="多个属性，以","分隔"  ></textarea>
                                        </div>
                                    </div>




                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"></label>
                                        <div class="col-sm-5"></div>
                                    </div>

                                    <div class="form-group">
                                        <div class="col-sm-4 col-sm-offset-2">
                                            <input type="hidden" name='tid' value="{$_GET['tid']}"/>
                                            <button class="btn btn-primary" id="btn" type="submit">确定添加</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </section>
                    </section>
                </section>
            </section>
        </section>
    </section>
</section>



